﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MallDiscount.Data
{
    public class Brand
    {
        [Key]
        public int Id { get; set; }
        [Required]
        public string BrandChineseName { get; set; }//品牌中文名称
        [Required]
        public string BrandEnglishName { get; set; }//品牌英文名称
        [Required]
        public string BrandImageSrc { get; set; }//品牌商标图地址

        public List<Shop> Shops { get; set; }//品牌旗下的商店
        [Required]
        public DateTime SubmitTime { get; set; }//品牌信息提交时间
        [Required]
        public DateTime VerityTime { get; set; }//品牌审核时间
        [Required]
        public bool HasVerify { get; set; }//品牌信息是否被审核
        public string Note { get; set; }
    }
}
